From: Carlos Garnacho Date: Wed, 17 Nov 2021 23:37:26 +0000 (+0100) Subject: overview: Grab on the stage X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~530^2^2~189 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=35d293df6c91d3e90ea3ada3e5f59af858c89dda;p=gnome-shell.git overview: Grab on the stage This is more in line with the places where we want events to be handled (i.e. all). So make the overview take a grab on the stage itself. Part-of: --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 87bf835b0..2312bb10d 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -488,7 +488,7 @@ var Overview = class { let shouldBeModal = !this._inXdndDrag; if (shouldBeModal && !this._modal) { let actionMode = Shell.ActionMode.OVERVIEW; - if (Main.pushModal(this._overview, { actionMode })) { + if (Main.pushModal(global.stage, { actionMode })) { this._modal = true; } else { this.hide(); @@ -498,7 +498,7 @@ var Overview = class { } else { // eslint-disable-next-line no-lonely-if if (this._modal) { - Main.popModal(this._overview); + Main.popModal(global.stage); this._modal = false; } }